package spec.ocl_mcg;

import graph.mcg.CGNode;
import graph.mcg.ConstraintNode;

import java.util.Enumeration;

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.ocl.ecore.TupleLiteralExp;
import org.eclipse.ocl.ecore.TupleLiteralPart;


public class TupleLiteralExpNode extends TreeNode implements LeafNode{
	private EList<org.eclipse.ocl.expressions.TupleLiteralPart<EClassifier, EStructuralFeature>> value;
	
	public TupleLiteralExpNode(){}
	
	public TupleLiteralExpNode(TupleLiteralExp exp){
		value = exp.getPart();
	}
	
	@Override
	public CGNode toCG() {
		// TODO Auto-generated method stub
		ConstraintNode cfgnode = new ConstraintNode(this);
		
		return cfgnode;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}
}
